package com.library.service;



import com.library.domain.BoMembershipGrade;

import java.util.List;

/**
 * 会员等级 服务层
 *
 * @author null
 * @date 2020-04-23
 */
public interface IBoMembershipGradeService {
    /**
     * 查询会员等级信息
     *
     * @param id 会员等级ID
     * @return 会员等级信息
     */
    BoMembershipGrade selectBoMembershipGradeById(Long id);

    /**
     * 查询会员等级列表
     *
     * @param boMembershipGrade 会员等级信息
     * @return 会员等级集合
     */
    List<BoMembershipGrade> selectBoMembershipGradeList(BoMembershipGrade boMembershipGrade);

    /**
     * 新增会员等级
     *
     * @param boMembershipGrade 会员等级信息
     * @return 结果
     */
    int insertBoMembershipGrade(BoMembershipGrade boMembershipGrade);

    /**
     * 修改会员等级
     *
     * @param boMembershipGrade 会员等级信息
     * @return 结果
     */
    int updateBoMembershipGrade(BoMembershipGrade boMembershipGrade);

    /**
     * 删除会员等级信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteBoMembershipGradeByIds(Long[] ids);

}
